package com.his.his_system.service.impl;

import com.his.his_system.domain.Workload;
import com.his.his_system.mapper.WorkloadMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class WorkloadServiceImpl {

      @Resource
      private WorkloadMapper workloadMapper;

      /**
       * 获取全部的排班信息
       */
    public   List<Workload> getAll(){

	  return  workloadMapper.getAll() ;
      }



      /**
       * 医生姓名查询
       */

      public  List<Workload> queryDoctor(String doctorname){
            return  workloadMapper.queryDoctor(doctorname);
      }

}
